class Dog():
    typaname ='Dogs'
    def __init__(self,name,age,weight):
        self.name=name
        self.age=age
        self.weight=weight

    def roar(self):
        print(self.name+"我的狗叫了一声")
        self.weight-=5

    def food(self):
        print(self.name+"我的狗吃了食物")
        self.weight+=20

    def bark(self):
        print(self.name+'汪汪汪的叫')

    def sit(self):
        print(self.name + "我的狗坐下. ")

    def agee(self):
        print(str(self.age)+'岁'+self.name)

t1=Dog('小黄',19,200)
# t2=Dog('大黄',19,200)

# print(t1.typaname)
# print(t1.name,t1.weight)
# t1.roar()
# print(t1.weight)
# t1.food()
# print(t1.weight)
# t1.bark()
# t1.agee()

